import request from '@/utils/request'

// 查询会议地址列表
export function listMeetingAddress(query) {
  return request({
    url: '/system/meetingAddress/list',
    method: 'get',
    params: query
  })
}

// 查询会议地址列表
export function allAddress() {
  return request({
    url: '/system/meetingAddress/all',
    method: 'post'
  })
}

// 查询会议地址详细
export function getMeetingAddress(id) {
  return request({
    url: '/system/meetingAddress/' + id,
    method: 'get'
  })
}

// 新增会议地址
export function addMeetingAddress(data) {
  return request({
    url: '/system/meetingAddress',
    method: 'post',
    data: data
  })
}

// 修改会议地址
export function updateMeetingAddress(data) {
  return request({
    url: '/system/meetingAddress',
    method: 'put',
    data: data
  })
}

// 删除会议地址
export function delMeetingAddress(id) {
  return request({
    url: '/system/meetingAddress/' + id,
    method: 'delete'
  })
}
